import { http, download } from '../../apis/request'
// this.prototype.$http = http;
const request = http
let shareTemplate = {
    //获取举报类型列表
    getReportType(state, pageNumber, pageSize){
      return request("/other/getReportType", {state, pageNumber, pageSize})
    },
    //查询举报类型信息
    showReportType(data){
      return request("/other/showReportType", data)
    },
    //修改举报类型
    updateReportType(data){
      return request("/other/updateReportType", data)
    },
    //修改举报类型状态
    updateReportState(data){
      return request("/other/updateReportTypeState", data)
    },
}
export default shareTemplate
